package com.springframework.DI_t.object_DI.bean;

public class Dept {
    private Emp emp;
    private String deptName;

    public Emp getEmp() {
        return emp;
    }

    public void setEmp(Emp emp) {
        this.emp = emp;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }


    @Override
    public String toString() {
        return "Dept{" +
                "emp=" + emp +
                ", deptName='" + deptName + '\'' +
                '}';
    }
}
